<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>百度首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #a7f3d0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            background-color: #f2f2f2;
            height: 40px;
            line-height: 40px;
            padding-left: 10px;
        }

        header ul {
            list-style: none;
        }

        header li {
            display: inline-block;
            margin-right: 10px;
        }

        header a {
            text-decoration: none;
            color: black;
        }

        #main {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        #logo {
            margin-bottom: 50px;
        }

        .search-container {
            display: flex;
            align-items: center;
        }

        .search-input {
            width: 300px;
            height: 30px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
            margin-right: 10px;
        }

        .search-button {
            height: 40px;
            padding: 5px 10px;
            background-color: #4a90e2;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }

        footer {
            background-color: #ffe6c9;
            padding: 10px;
            text-align: center;
        }

        footer ul {
            list-style: none;
        }

        footer li {
            display: inline-block;
            margin-right: 10px;
        }

        footer a {
            text-decoration: none;
            color: black;
        }
    </style>
</head>
<body>
    <header>
        <ul>
            <li><a href="">新闻</a></li>
            <li><a href="">hao123</a></li>
            <li><a href="">地图</a></li>
            <li><a href="">贴吧</a></li>
            <li><a href="">视频</a></li>
            <li><a href="">图片</a></li>
            <li><a href="">网盘</a></li>
            <li><a href="">文库</a></li>
            <li><a href="">AI+</a></li>
            <li><a href="">更多</a></li>
        </ul>
    </header>

    <div id="main">
        <img id="logo" src="https://www.baidu.com/img/flexible/logo/pc/result.png" alt="百度Logo">
        <div class="search-container">
            <input type="text" class="search-input" placeholder="请输入搜索内容">
            <button class="search-button">百度一下</button>
        </div>
    </div>

    <footer>
        <ul>
            <li><a href="">关于我们</a></li>
            <li><a href="">About Baidu</a></li>
            <li><a href="">使用百度前必读</a></li>
            <li><a href="">帮助中心企业推广</a></li>
            <li><a href="">京公网安备11000002000001号</a></li>
            <li><a href="">京ICP证030173号</a></li>
        </ul>
    </footer>
</body>
</html>